package com.xfyuao.dto;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.xfyuao.entity.Stu;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class StuDto extends Stu {
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date stuBirthday2;//结束日期
	
	@Override
	public String toString() {
		return super.toString() + " StuDto [stuBirthday2=" + stuBirthday2  + "]";
	}
}
